package com.xhwl.data.service;

import com.xhwl.common.dto.cent.sdata.RoomDTO;
import com.xhwl.common.pojo.ResultJson;
import com.xhwl.common.query.cent.sdata.RoomManageQuery;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @Author yf
 * @Description:
 * @Date Create in 15:23 2022/06/15
 */
@RestController
public interface IRoomManageService {
    /**
     * 管理
     *
     * @param roomDTO
     * @return
     */
    @RequestMapping(value = "/room-manage-service/update", method = RequestMethod.POST)
    ResultJson update(@RequestPart RoomDTO roomDTO);


    @RequestMapping(value = "/room-manage-service/page", method = RequestMethod.POST)
    Map<String, Object> page(@RequestPart RoomManageQuery roomManageQuery);
}
